package com.framework.loippi.dao;

import com.framework.loippi.entity.Pic;
import com.framework.loippi.mybatis.dao.GenericDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DAO - Pic(药品图片表)
 * 
 * @author wmj
 * @version 2.0
 */
public interface PicDao  extends GenericDao<Pic, Long> {
	List<Pic> findListByPage(Object parameter);
        Long deletes(Object parameter);

    List<Pic> findByMedicineId(Long id);

    void deleteByMedicineId(@Param("proceductId") Long proceductId);
}
